首页 / 词典 / good

switch case

美 [swɪtʃ keɪs]英 [swɪtʃ keɪs]
  • 网络开关箱;分支语句;开关语句
switch caseswitch case
  1. If you can , please use the same switch case mold as the last time .

    如果你能作到,请使用和上次一样的开关箱模具。

  2. This switch case calls tcp_drop (), which checks the state of the socket .

    此切换实例调用tcpdrop()以检查套接字的状态。

  3. The switch case in the tcp_usrreq () function checks for the binding of a local port with the socket .

    tcpusrreq()函数中的切换实例检查套接字与本地端口的绑定。

  4. The switch case for PRU_DETACH calls tcp_disconnect () to check if a connection state is ESTABLISHED .

    PRUDETACH的切换实例调用tcpdisconnect(),以检查连接状态是否为ESTABLISHED。

  5. General purpose cloth based tape . It 's used for packaging , masking , switch case , electrical components , fixing tag , etc.

    通用型布基胶带,可用于包装、遮蔽,开关盒,电子元器件,标识固定等。

  6. Although it isn 't the optimal solution , multiple elif statements can be used to mimic the switch case statement present in some other languages .

    尽管它不是最优的解决方案,但是多个elif语句可以用于模拟其他一些语言中的switchcase语句。

  7. The switch case in tcp_usrreq () calls in_pcbbind (), which binds the local address and the port number to the socket .

    tcpusrreq()中的切换实例调用inpcbbind(),后者将本地地址和端口号绑定到套接字。

  8. The switch case for PRU_SHUTDOWN calls the tcp_usrclosed () function , which updates the state of the socket , depending on the current state .

    PRUSHUTDOWN的切换实例根据当前的状态调用tcpusrclosed()函数,以更新套接字的状态。

  9. One of those areas is on case statements within switch / case blocks .

    其中之一是switch/case块中的case语句。

  10. A switch / case statement is used to delegate to appropriate functions .

    switch/case语句用于指派正确的函数。

  11. The use of switch / case also enables compiler optimization by using a jump table implementation .

    使用switch/case也可以通过使用跳转表实现进行编译器优化。

  12. You can switch the case of the alpha character underneath your cursor in vi the tilde key ( ~ ) .

    在vi中,可以切换游标下的字母字符的大小写,方法是按Escape,然后按波浪号键(~)。

  13. Another advantage is that the MessageListenerAdapter acts as a replacement for if / else or switch / case blocks commonly found in messaging applications .

    另一个优点是,在消息应用中,你经常可以发现MessageListenerAdapter扮演了if/else或switch/case块替代品的角色。

  14. A good solution to the multitude of potential types is to register a handler for each type , helping avoid a large if / else or switch / case block

    要处理今后可能出现的多种类型,好的解决方案是为每个类型注册一个处理器,如此一来就可以避免大量的if/else或者switch/case代码块了

  15. It would be tempting in this case to re-use the IDs teoma and yahoo later in the switch / case / toggle mechanism , but that will not work because those names refer to the instance data .

    在本例后面的switch/case/toggle机制中重用teoma和yahoo这两个ID会是个不小的诱惑,但是由于它们的名称都引用了实例数据所以并不能正常运行。

  16. We 'll explore pattern matching , which is a common feature of functional languages , a little later ; for now , just think of it as a concept that is to switch / case what C-style structs are to classes .

    我们将研究模式匹配,这是函数语言的一个常见特性,稍后将介绍它;现在,只把它看作一个将用于switch/case的概念,那么哪种C风格的struct将用于类呢?

  17. It automatically picks the best-possible mirror and can dynamically switch mirrors in case of failure .

    它会自动选择最佳的镜像,并且在失败时会动态地切换镜像。

  18. What you ultimately want is to switch to the results case after you submit the form .

    最终的目标是希望在提交表单值后切换到结果显示。

  19. Co-author Prof Mike Benton of Bristol University , told BBC News : " World climates were getting cooler all the time . Dinosaurs rely on quite warm climates and mammals are better adapted to the cold . So there might have been a switch over in any case without the asteroid impact . "

    论文的联合作者、布里斯托大学德MikeBenton教授告诉BBC:“全球气候一直在变冷,恐龙适合在温暖的气候条件下生存,而哺乳动物更好地适应了寒冷的气候。因此,无论是否有小行星撞地球,最终哺乳动物都会取代恐龙。”

  20. Taking Siemens mobile switch network for example , it introduces the method and experience of exception handling of mobile switch network through case analysis .

    以西门子移动交换网为例,通过实际案例分析,介绍了交换网络故障处理的方法和经验。

  21. Notice that Groovy 's switch is a bit more powerful than C-like languages switches in that it is possible to use any kind of object in the switch and case .

    请注意Groovy的switch语句比类似C风格语言的switch语句要强大一些,在Groovy中可以在switch和case语句使用任何类型的对象。